<?php 

class FieldNominadoForm extends sfForm
{
	public function configure()
	{
		$widget = new sfWidgetFormChoice( array('choices' => array() ));
		$widget->setOption('renderer_class', 'sfWidgetFormJQueryAutocompleter');
		$widget->setOption('renderer_options', array(
  			'url'   => $this->getOption('url'),
		));
		$this->setWidgets(array(
			'nominado' => $widget			
		));
	    
	}
}